import {Directive, ElementRef, HostListener} from '@angular/core';

@Directive({
  selector: '[pbAdaptiveScreen]'
})
export class AdaptiveScreenDirective {
  constructor() {

  }

  @HostListener('window:resize', ['$event']) onResize(e) {
    console.log(e);
  }

}
